#ifndef __ELF_API_H__
#define __ELF_API_H__

#include <stdint.h>
#include <stdbool.h>

//PA2-4 legacy-compatible APIs used by monitor_correct
uint32_t GetMarkValue(char *name, bool *success);
void GetFunctionAddr(uint32_t addr, char *name);

// Preferred APIs (already implemented in our elf.c)
bool lookup_object_addr(const char *name, uint32_t *addr_out);
const char *lookup_func_name(uint32_t addr, uint32_t *func_start, uint32_t *func_size);

#endif


